import request from '@/utils/request'

// 查询出入库明细列表
export function listMdInTaskDetails(query) {
  return request({
    url: '/meter/mdInTaskDetails/list',
    method: 'get',
    params: query
  })
}

// 查询出入库明细详细
export function getMdInTaskDetails(inTaskDetailsId) {
  return request({
    url: '/meter/mdInTaskDetails/' + inTaskDetailsId,
    method: 'get'
  })
}

// 新增出入库明细
export function addMdInTaskDetails(data) {
  return request({
    url: '/meter/mdInTaskDetails',
    method: 'post',
    data: data
  })
}

// 修改出入库明细
export function updateMdInTaskDetails(data) {
  return request({
    url: '/meter/mdInTaskDetails',
    method: 'put',
    data: data
  })
}

// 删除出入库明细
export function delMdInTaskDetails(inTaskDetailsId) {
  return request({
    url: '/meter/mdInTaskDetails/' + inTaskDetailsId,
    method: 'delete'
  })
}
